<?php
namespace Home\Model;
use Think\Model\ViewModel;
class RepaymentBViewModel extends ViewModel{
	protected $connection = 'CAIWU';
	protected $tablePrefix = '';
    public    $viewFields = array(
    'Borrow'=>array('is_success','_table'=>"user_borrow",'_as'=>'Borrow'),
    'Repaya'=>array('id'=>'repay_id','repay_money','all_period','period','borrow_no','type','_table'=>"user_repayment_a",'_as'=>'Repaya','_on'=>'Repaya.borrow_no=Borrow.borrow_no'),
   );
}
?>